package mycode;

import org.netbeans.jemmy.*;
import org.netbeans.jemmy.operators.*;

public class WaitWindowSample2 implements Scenario {
    @Override
	public int runIt(Object param) {
	try {
	    //start application
	    new ClassReference("org.netbeans.jemmy.explorer.GUIBrowser").startApplication();
	    //wait frame
	    new JFrameOperator("GUI Browser");
	    Thread.sleep(100000);
	} catch(Exception e) {
	    e.printStackTrace();
	    return(1);
	}
	return(0);
    }
    public static void main(String[] argv) {
    	String[] params = {"mycode.WaitWindowSample2"};
    	org.netbeans.jemmy.Test.main(params);
    }
    ///
}

